package com.shadow.mall.order.remote;

import com.shadow.mall.common.core.JsonResult;
import com.shadow.mall.risk.domain.dto.CheckOrderRiskDTO;
import com.shadow.mall.risk.domain.request.CheckOrderRiskRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient("shadow-mall-risk")
public interface RiskService {

    @RequestMapping("/risk/checkOrderRisk")
    JsonResult<CheckOrderRiskDTO> checkOrderRisk(CheckOrderRiskRequest checkOrderRiskRequest);
}
